\doxysection{mpu\+\_\+wrappers.\+h}
\hypertarget{mpu__wrappers_8h_source}{}\label{mpu__wrappers_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/Third\_Party/FreeRTOS/Source/include/mpu\_wrappers.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/Third\_Party/FreeRTOS/Source/include/mpu\_wrappers.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ FreeRTOS\ Kernel\ V10.3.1}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ Copyright\ (C)\ 2020\ Amazon.com,\ Inc.\ or\ its\ affiliates.\ \ All\ Rights\ Reserved.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ Permission\ is\ hereby\ granted,\ free\ of\ charge,\ to\ any\ person\ obtaining\ a\ copy\ of}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ this\ software\ and\ associated\ documentation\ files\ (the\ "{}Software"{}),\ to\ deal\ in}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ the\ Software\ without\ restriction,\ including\ without\ limitation\ the\ rights\ to}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ use,\ copy,\ modify,\ merge,\ publish,\ distribute,\ sublicense,\ and/or\ sell\ copies\ of}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ the\ Software,\ and\ to\ permit\ persons\ to\ whom\ the\ Software\ is\ furnished\ to\ do\ so,}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ subject\ to\ the\ following\ conditions:}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ The\ above\ copyright\ notice\ and\ this\ permission\ notice\ shall\ be\ included\ in\ all}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ copies\ or\ substantial\ portions\ of\ the\ Software.}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ THE\ SOFTWARE\ IS\ PROVIDED\ "{}AS\ IS"{},\ WITHOUT\ WARRANTY\ OF\ ANY\ KIND,\ EXPRESS\ OR}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ IMPLIED,\ INCLUDING\ BUT\ NOT\ LIMITED\ TO\ THE\ WARRANTIES\ OF\ MERCHANTABILITY,\ FITNESS}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ FOR\ A\ PARTICULAR\ PURPOSE\ AND\ NONINFRINGEMENT.\ IN\ NO\ EVENT\ SHALL\ THE\ AUTHORS\ OR}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ COPYRIGHT\ HOLDERS\ BE\ LIABLE\ FOR\ ANY\ CLAIM,\ DAMAGES\ OR\ OTHER\ LIABILITY,\ WHETHER}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ IN\ AN\ ACTION\ OF\ CONTRACT,\ TORT\ OR\ OTHERWISE,\ ARISING\ FROM,\ OUT\ OF\ OR\ IN}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ CONNECTION\ WITH\ THE\ SOFTWARE\ OR\ THE\ USE\ OR\ OTHER\ DEALINGS\ IN\ THE\ SOFTWARE.}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ http://www.FreeRTOS.org}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ http://aws.amazon.com/freertos}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ *\ 1\ tab\ ==\ 4\ spaces!}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#ifndef\ MPU\_WRAPPERS\_H}}
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#define\ MPU\_WRAPPERS\_H}}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \textcolor{comment}{/*\ This\ file\ redefines\ API\ functions\ to\ be\ called\ through\ a\ wrapper\ macro,\ but}}
\DoxyCodeLine{00032\ \textcolor{comment}{only\ for\ ports\ that\ are\ using\ the\ MPU.\ */}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#ifdef\ portUSING\_MPU\_WRAPPERS}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{comment}{/*\ MPU\_WRAPPERS\_INCLUDED\_FROM\_API\_FILE\ will\ be\ defined\ when\ this\ file\ is}}
\DoxyCodeLine{00036\ \textcolor{comment}{\ \ \ \ included\ from\ queue.c\ or\ task.c\ to\ prevent\ it\ from\ having\ an\ effect\ within}}
\DoxyCodeLine{00037\ \textcolor{comment}{\ \ \ \ those\ files.\ */}}
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\ \ \ \ \#ifndef\ MPU\_WRAPPERS\_INCLUDED\_FROM\_API\_FILE}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*}}
\DoxyCodeLine{00041\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ *\ Map\ standard\ (non\ MPU)\ API\ functions\ to\ equivalents\ that\ start}}
\DoxyCodeLine{00042\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ *\ "{}MPU\_"{}.\ \ This\ will\ cause\ the\ application\ code\ to\ call\ the\ MPU\_}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ *\ version,\ which\ wraps\ the\ non-\/MPU\ version\ with\ privilege\ promoting}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ *\ then\ demoting\ code,\ so\ the\ kernel\ code\ always\ runs\ will\ full}}
\DoxyCodeLine{00045\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ *\ privileges.}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ */}}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Map\ standard\ tasks.h\ API\ functions\ to\ the\ MPU\ equivalents.\ */}}
\DoxyCodeLine{00049\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskCreate\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskCreate}}
\DoxyCodeLine{00050\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskCreateStatic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskCreateStatic}}
\DoxyCodeLine{00051\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskCreateRestricted\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskCreateRestricted}}
\DoxyCodeLine{00052\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskAllocateMPURegions\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskAllocateMPURegions}}
\DoxyCodeLine{00053\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskDelete\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskDelete}}
\DoxyCodeLine{00054\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskDelay\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskDelay}}
\DoxyCodeLine{00055\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskDelayUntil\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskDelayUntil}}
\DoxyCodeLine{00056\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskAbortDelay\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskAbortDelay}}
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxTaskPriorityGet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxTaskPriorityGet}}
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ eTaskGetState\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_eTaskGetState}}
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskGetInfo\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskGetInfo}}
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskPrioritySet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskPrioritySet}}
\DoxyCodeLine{00061\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskSuspend\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskSuspend}}
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskResume\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskResume}}
\DoxyCodeLine{00063\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskSuspendAll\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskSuspendAll}}
\DoxyCodeLine{00064\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskResumeAll\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskResumeAll}}
\DoxyCodeLine{00065\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGetTickCount\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGetTickCount}}
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxTaskGetNumberOfTasks\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxTaskGetNumberOfTasks}}
\DoxyCodeLine{00067\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ pcTaskGetName\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_pcTaskGetName}}
\DoxyCodeLine{00068\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGetHandle\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGetHandle}}
\DoxyCodeLine{00069\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxTaskGetStackHighWaterMark\ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxTaskGetStackHighWaterMark}}
\DoxyCodeLine{00070\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxTaskGetStackHighWaterMark2\ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxTaskGetStackHighWaterMark2}}
\DoxyCodeLine{00071\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskSetApplicationTaskTag\ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskSetApplicationTaskTag}}
\DoxyCodeLine{00072\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGetApplicationTaskTag\ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGetApplicationTaskTag}}
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskSetThreadLocalStoragePointer\ \ \ \ \ \ \ MPU\_vTaskSetThreadLocalStoragePointer}}
\DoxyCodeLine{00074\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ pvTaskGetThreadLocalStoragePointer\ \ \ \ \ \ MPU\_pvTaskGetThreadLocalStoragePointer}}
\DoxyCodeLine{00075\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskCallApplicationTaskHook\ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskCallApplicationTaskHook}}
\DoxyCodeLine{00076\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGetIdleTaskHandle\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGetIdleTaskHandle}}
\DoxyCodeLine{00077\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxTaskGetSystemState\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxTaskGetSystemState}}
\DoxyCodeLine{00078\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskList\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskList}}
\DoxyCodeLine{00079\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskGetRunTimeStats\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskGetRunTimeStats}}
\DoxyCodeLine{00080\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ ulTaskGetIdleRunTimeCounter\ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_ulTaskGetIdleRunTimeCounter}}
\DoxyCodeLine{00081\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGenericNotify\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGenericNotify}}
\DoxyCodeLine{00082\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskNotifyWait\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskNotifyWait}}
\DoxyCodeLine{00083\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ ulTaskNotifyTake\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_ulTaskNotifyTake}}
\DoxyCodeLine{00084\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskNotifyStateClear\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskNotifyStateClear}}
\DoxyCodeLine{00085\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ ulTaskNotifyValueClear\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_ulTaskNotifyValueClear}}
\DoxyCodeLine{00086\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskCatchUpTicks\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskCatchUpTicks}}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGetCurrentTaskHandle\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGetCurrentTaskHandle}}
\DoxyCodeLine{00089\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTaskSetTimeOutState\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTaskSetTimeOutState}}
\DoxyCodeLine{00090\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskCheckForTimeOut\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskCheckForTimeOut}}
\DoxyCodeLine{00091\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTaskGetSchedulerState\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTaskGetSchedulerState}}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Map\ standard\ queue.h\ API\ functions\ to\ the\ MPU\ equivalents.\ */}}
\DoxyCodeLine{00094\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueGenericSend\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueGenericSend}}
\DoxyCodeLine{00095\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueReceive\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueReceive}}
\DoxyCodeLine{00096\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueuePeek\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueuePeek}}
\DoxyCodeLine{00097\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueSemaphoreTake\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueSemaphoreTake}}
\DoxyCodeLine{00098\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxQueueMessagesWaiting\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxQueueMessagesWaiting}}
\DoxyCodeLine{00099\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxQueueSpacesAvailable\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxQueueSpacesAvailable}}
\DoxyCodeLine{00100\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vQueueDelete\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vQueueDelete}}
\DoxyCodeLine{00101\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueCreateMutex\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueCreateMutex}}
\DoxyCodeLine{00102\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueCreateMutexStatic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueCreateMutexStatic}}
\DoxyCodeLine{00103\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueCreateCountingSemaphore\ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueCreateCountingSemaphore}}
\DoxyCodeLine{00104\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueCreateCountingSemaphoreStatic\ \ \ \ \ MPU\_xQueueCreateCountingSemaphoreStatic}}
\DoxyCodeLine{00105\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueGetMutexHolder\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueGetMutexHolder}}
\DoxyCodeLine{00106\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueTakeMutexRecursive\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueTakeMutexRecursive}}
\DoxyCodeLine{00107\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueGiveMutexRecursive\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueGiveMutexRecursive}}
\DoxyCodeLine{00108\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueGenericCreate\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueGenericCreate}}
\DoxyCodeLine{00109\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueGenericCreateStatic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueGenericCreateStatic}}
\DoxyCodeLine{00110\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueCreateSet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueCreateSet}}
\DoxyCodeLine{00111\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueAddToSet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueAddToSet}}
\DoxyCodeLine{00112\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueRemoveFromSet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueRemoveFromSet}}
\DoxyCodeLine{00113\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueSelectFromSet\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueSelectFromSet}}
\DoxyCodeLine{00114\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xQueueGenericReset\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xQueueGenericReset}}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#if(\ configQUEUE\_REGISTRY\_SIZE\ >\ 0\ )}}
\DoxyCodeLine{00117\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \#define\ vQueueAddToRegistry\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vQueueAddToRegistry}}
\DoxyCodeLine{00118\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \#define\ vQueueUnregisterQueue\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vQueueUnregisterQueue}}
\DoxyCodeLine{00119\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \ \ \ \ \#define\ pcQueueGetName\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_pcQueueGetName}}
\DoxyCodeLine{00120\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#endif}}
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Map\ standard\ timer.h\ API\ functions\ to\ the\ MPU\ equivalents.\ */}}
\DoxyCodeLine{00123\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerCreate\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerCreate}}
\DoxyCodeLine{00124\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerCreateStatic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerCreateStatic}}
\DoxyCodeLine{00125\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ pvTimerGetTimerID\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_pvTimerGetTimerID}}
\DoxyCodeLine{00126\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTimerSetTimerID\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTimerSetTimerID}}
\DoxyCodeLine{00127\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerIsTimerActive\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerIsTimerActive}}
\DoxyCodeLine{00128\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerGetTimerDaemonTaskHandle\ \ \ \ \ \ \ \ \ \ MPU\_xTimerGetTimerDaemonTaskHandle}}
\DoxyCodeLine{00129\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerPendFunctionCall\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerPendFunctionCall}}
\DoxyCodeLine{00130\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ pcTimerGetName\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_pcTimerGetName}}
\DoxyCodeLine{00131\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vTimerSetReloadMode\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vTimerSetReloadMode}}
\DoxyCodeLine{00132\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ uxTimerGetReloadMode\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_uxTimerGetReloadMode}}
\DoxyCodeLine{00133\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerGetPeriod\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerGetPeriod}}
\DoxyCodeLine{00134\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerGetExpiryTime\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerGetExpiryTime}}
\DoxyCodeLine{00135\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xTimerGenericCommand\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xTimerGenericCommand}}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Map\ standard\ event\_group.h\ API\ functions\ to\ the\ MPU\ equivalents.\ */}}
\DoxyCodeLine{00138\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xEventGroupCreate\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xEventGroupCreate}}
\DoxyCodeLine{00139\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xEventGroupCreateStatic\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xEventGroupCreateStatic}}
\DoxyCodeLine{00140\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xEventGroupWaitBits\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xEventGroupWaitBits}}
\DoxyCodeLine{00141\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xEventGroupClearBits\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xEventGroupClearBits}}
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xEventGroupSetBits\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xEventGroupSetBits}}
\DoxyCodeLine{00143\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xEventGroupSync\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xEventGroupSync}}
\DoxyCodeLine{00144\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vEventGroupDelete\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vEventGroupDelete}}
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Map\ standard\ message/stream\_buffer.h\ API\ functions\ to\ the\ MPU}}
\DoxyCodeLine{00147\ \textcolor{comment}{\ \ \ \ \ \ \ \ equivalents.\ */}}
\DoxyCodeLine{00148\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferSend\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferSend}}
\DoxyCodeLine{00149\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferReceive\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferReceive}}
\DoxyCodeLine{00150\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferNextMessageLengthBytes\ \ \ \ \ MPU\_xStreamBufferNextMessageLengthBytes}}
\DoxyCodeLine{00151\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ vStreamBufferDelete\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_vStreamBufferDelete}}
\DoxyCodeLine{00152\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferIsFull\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferIsFull}}
\DoxyCodeLine{00153\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferIsEmpty\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferIsEmpty}}
\DoxyCodeLine{00154\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferReset\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferReset}}
\DoxyCodeLine{00155\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferSpacesAvailable\ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferSpacesAvailable}}
\DoxyCodeLine{00156\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferBytesAvailable\ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferBytesAvailable}}
\DoxyCodeLine{00157\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferSetTriggerLevel\ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferSetTriggerLevel}}
\DoxyCodeLine{00158\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferGenericCreate\ \ \ \ \ \ \ \ \ \ \ \ \ \ MPU\_xStreamBufferGenericCreate}}
\DoxyCodeLine{00159\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ xStreamBufferGenericCreateStatic\ \ \ \ \ \ \ \ MPU\_xStreamBufferGenericCreateStatic}}
\DoxyCodeLine{00160\ }
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Remove\ the\ privileged\ function\ macro,\ but\ keep\ the\ PRIVILEGED\_DATA}}
\DoxyCodeLine{00163\ \textcolor{comment}{\ \ \ \ \ \ \ \ macro\ so\ applications\ can\ place\ data\ in\ privileged\ access\ sections}}
\DoxyCodeLine{00164\ \textcolor{comment}{\ \ \ \ \ \ \ \ (useful\ when\ using\ statically\ allocated\ objects).\ */}}
\DoxyCodeLine{00165\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ PRIVILEGED\_FUNCTION}}
\DoxyCodeLine{00166\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ PRIVILEGED\_DATA\ \_\_attribute\_\_((section("{}privileged\_data"{})))}}
\DoxyCodeLine{00167\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ FREERTOS\_SYSTEM\_CALL}}
\DoxyCodeLine{00168\ }
\DoxyCodeLine{00169\ \textcolor{preprocessor}{\ \ \ \ \#else\ }\textcolor{comment}{/*\ MPU\_WRAPPERS\_INCLUDED\_FROM\_API\_FILE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00171\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Ensure\ API\ functions\ go\ in\ the\ privileged\ execution\ section.\ */}}
\DoxyCodeLine{00172\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ PRIVILEGED\_FUNCTION\ \_\_attribute\_\_((section("{}privileged\_functions"{})))}}
\DoxyCodeLine{00173\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ PRIVILEGED\_DATA\ \_\_attribute\_\_((section("{}privileged\_data"{})))}}
\DoxyCodeLine{00174\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ \#define\ FREERTOS\_SYSTEM\_CALL\ \_\_attribute\_\_((section(\ "{}freertos\_system\_calls"{})))}}
\DoxyCodeLine{00175\ }
\DoxyCodeLine{00176\ \textcolor{preprocessor}{\ \ \ \ \#endif\ }\textcolor{comment}{/*\ MPU\_WRAPPERS\_INCLUDED\_FROM\_API\_FILE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00177\ }
\DoxyCodeLine{00178\ \textcolor{preprocessor}{\#else\ }\textcolor{comment}{/*\ portUSING\_MPU\_WRAPPERS\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00180\ \textcolor{preprocessor}{\ \ \ \ \#define\ PRIVILEGED\_FUNCTION}}
\DoxyCodeLine{00181\ \textcolor{preprocessor}{\ \ \ \ \#define\ PRIVILEGED\_DATA}}
\DoxyCodeLine{00182\ \textcolor{preprocessor}{\ \ \ \ \#define\ FREERTOS\_SYSTEM\_CALL}}
\DoxyCodeLine{00183\ \textcolor{preprocessor}{\ \ \ \ \#define\ portUSING\_MPU\_WRAPPERS\ 0}}
\DoxyCodeLine{00184\ }
\DoxyCodeLine{00185\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ portUSING\_MPU\_WRAPPERS\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00186\ }
\DoxyCodeLine{00187\ }
\DoxyCodeLine{00188\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ MPU\_WRAPPERS\_H\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00189\ }

\end{DoxyCode}
